package com.ph.shopping.facade.merchant.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Table;

import com.ph.shopping.common.core.base.BaseEntity;

@Table(name = "ph_merchant_image")
public class MerchantImage extends BaseEntity {

	
	@Column(name="url")
	private String url;//图片地址
	
	@Column(name="sort")
	private int  sort;//序列
	
	
	@Column(name="merchantId")
	private Long  merchantId;//商户主键
	
	@Column(name="type")
	private int type;//图片类型 1 营业执照图片 2 身份证图片 3 门店照片
	
	@Column(name="updateTime")
	private Date  updateTime;//修改时间
	
	@Column(name="createTime")
	private Date  createTime;//创建时间

	

	public MerchantImage() {
	}



	public String getUrl() {
		return url;
	}



	public void setUrl(String url) {
		this.url = url;
	}


	public int getSort() {
		return sort;
	}



	public void setSort(int sort) {
		this.sort = sort;
	}



	public Long getMerchantId() {
		return merchantId;
	}



	public void setMerchantId(Long merchantId) {
		this.merchantId = merchantId;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public MerchantImage(String url, int sort, Long merchantId, int type, Date updateTime, Date createTime) {
		this.url = url;
		this.sort = sort;
		this.merchantId = merchantId;
		this.type = type;
		this.updateTime = updateTime;
		this.createTime = createTime;
	}
	
	
	
	
}
